package cn.s1995.sloth.bizs.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.yulichang.base.MPJBaseService;
import com.github.yulichang.wrapper.MPJLambdaWrapper;

import cn.s1995.sloth.bizs.entity.OrderItem;
import cn.s1995.sloth.bizs.oo.vo.OrderItemVO;

public interface OrderItemService extends MPJBaseService<OrderItem> {

	/**
	 * 根据订单id查询
	 * @param orderId
	 * @return
	 */
	@Deprecated
	List<OrderItemVO> selectByOrderId(Long orderId);

	/**
	 * 根据订单id查询订单项
	 * @param orderId
	 * @return
	 */
    List<OrderItem> getOrderItemsByOrderId(Long orderId);
}
